package cn.vconinfo.lims.delivery.mapper;

import cn.vconinfo.lims.delivery.model.SpecimenRegister;
import cn.vconinfo.lims.delivery.model.SpecimenRegisterExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpecimenRegisterMapper {
    long countByExample(SpecimenRegisterExample example);

    int deleteByExample(SpecimenRegisterExample example);

    int deleteByPrimaryKey(Long specimenRegisterId);

    int insert(SpecimenRegister record);

    int insertSelective(SpecimenRegister record);

    List<SpecimenRegister> selectByExample(SpecimenRegisterExample example);

    SpecimenRegister selectByPrimaryKey(Long specimenRegisterId);

    int updateByExampleSelective(@Param("record") SpecimenRegister record, @Param("example") SpecimenRegisterExample example);

    int updateByExample(@Param("record") SpecimenRegister record, @Param("example") SpecimenRegisterExample example);

    int updateByPrimaryKeySelective(SpecimenRegister record);

    int updateByPrimaryKey(SpecimenRegister record);
}